package com.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.entity.SharesDataProbRed;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pumpkin
 * @since 2021-03-26
 */
public interface SharesDataProbRedService extends IService<SharesDataProbRed> {

    /**
     * 查询概率
     * @param sharesDataProbRed
     */
    void getPorbByCodeAndTrend(SharesDataProbRed sharesDataProbRed);

    /**
     * 查询单支3-7天的概率
     * @param sharesDataProbRed
     */
    void getPorbSingle(SharesDataProbRed sharesDataProbRed);

    /**
     * 查询板块5-7天的概率
     * @param sharesDataProbRed
     */
    void getPorbPlate(SharesDataProbRed sharesDataProbRed);

    /**
     * 查询全部5-7天的概率
      * @param sharesDataProbRed
     */
    void getPorbAll(SharesDataProbRed sharesDataProbRed);

    /**
     * 查询zdf板块3-5天的概率
     * @param sharesDataProbRed
     */
    void getZdfProbPlate(SharesDataProbRed sharesDataProbRed);

    /**
     * 查询明天跌，后天单支3-7天的概率
     * @param sharesDataProbRed
     */
    void getAfterPorbSingle(SharesDataProbRed sharesDataProbRed);

    /**
     * 查询明天跌，后天板块5-7天的概率
     * @param sharesDataProbRed
     */
    void getAfterPorbPlate(SharesDataProbRed sharesDataProbRed);

    /**
     * 查询明天跌，后天全部5-7天的概率
     * @param sharesDataProbRed
     */
    void getAfterPorbAll(SharesDataProbRed sharesDataProbRed);

    /**
     * 查询明天跌，后天zdf板块3-5天的概率
     * @param sharesDataProbRed
     */
    void getAfterZdfProbPlate(SharesDataProbRed sharesDataProbRed);

    /**
     * 根据条件查询
     * @param sharesDataProbRed
     * @return
     */
    Page<SharesDataProbRed> getProbByTrend(SharesDataProbRed sharesDataProbRed);
}
